home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / help / C / layers / Makefile.am < prev    next >
Encoding:
Makefile  |  2001-11-29  |  953 b   |  40 lines

  1. ## Process this file with automake to produce Makefile.in
  2.  
  3. SUBDIRS = stack 
  4.  
  5. helpdatadir = $(gimpdatadir)/help/C/layers
  6.  
  7. helpdata_DATA = \
  8.         add_alpha_channel.html        \
  9.         alpha_to_selection.html        \
  10.         anchor_layer.html        \
  11.     apply_mask.html            \
  12.         delete_layer.html        \
  13.     delete_mask.html        \
  14.         duplicate_layer.html        \
  15.         flatten_image.html        \
  16.         index.html            \
  17.     layer_to_image_size.html    \
  18.         mask_to_selection.html        \
  19.         merge_down.html            \
  20.     using_layers.html
  21.  
  22. EXTRA_DIST = $(helpdata_DATA)
  23.  
  24. .PHONY: files install-data-hook
  25.  
  26. files:
  27.     @files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
  28.       echo $$p; \
  29.     done
  30.     @for subdir in $(SUBDIRS); do \
  31.       files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
  32.       for file in $$files; do \
  33.         echo $$subdir/$$file; \
  34.       done; \
  35.     done
  36.  
  37. install-data-hook:
  38.     rm -f $(DESTDIR)$(helpdatadir)/dialogs
  39.     $(LN_S) ../dialogs/layers $(DESTDIR)$(helpdatadir)/dialogs
  40.